home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Pascal Pereira <71172.2025@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: Theoretical C++ Question
- Date: 10 Jan 1996 19:46:19 GMT
- Organization: cibc.ca
- Message-ID: <4d152b$dd2$1@mhafc.production.compuserve.com>
-
- I have an old program written in C that uses function pointers.
- Is there any way to mimic function pointer code in C++ or does
- this require a fundamental change to the structure of the
- old code.
-
- If it does require a total rewrite, does anyone have a small
- sample of how you could convert a program using function pointers
- to the same program doing the same thing but in C++ concepts.
-
- example:
-